/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/* nixonFTP
 * FTP client version 0.1
 * Copyright (C) 2010 NIXON Development Corporation.
 * All rights reserved.
 * http://members.shaw.ca/nixon.com
*/

package nixonftp.ui;

import java.awt.CardLayout;
import java.awt.Dimension;
import java.util.Vector;
import javax.swing.BoxLayout;
import javax.swing.JComponent;
import javax.swing.JPanel;
import javax.swing.JTabbedPane;


public class NXSidebar extends JPanel {
	JTabbedPane tabbedPane = new JTabbedPane();

	public NXSidebar() {
		super();
		setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
		add(tabbedPane);
	}

	public void addImpl(String name, JComponent component) {
		tabbedPane.addTab(name, component);
	}
}
